﻿using System.Collections.Generic;
using System;

namespace TyMES.Communication.Request
{
    public class AlarmRequest
    {
        public class WarningData
        {
            public string serviceId = "System001_Warning";
            public string factoryCode { get; set; }
            public string requestTime { get; set; }
            public List<WarningDetail> data { get; set; }
        }

        public class WarningDetail
        {
            public string lineCode { get; set; }
            public string stationCode { get; set; }
            public string operationCode { get; set; }
            public string machineCode { get; set; }
            public string warningCode { get; set; }
            public string warningType { get; set; }
            public string warningDesc { get; set; }
            public string warningTime { get; set; }
        }
    }
}
